<?php 

    $conn = oci_connect("hospital", "hospital", "//localhost/XE"); 
	$delete = oci_parse($conn, "delete from schedule
			where patient_id = '$_GET[id]'");
	oci_execute($delete);
 ?>
 
 <HTML>
 <head><meta http-equiv="refresh" content="1; URL=main.php"></head>
 <BODY>
 Going Back to the table
 </BODY>
 </HTML>
